package com.seckill.model.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * @author lill
 * @date 2019-06-24
 */
@Data
public class OrderDTO implements Serializable {

    private static final long serialVersionUID = 1932307326489266506L;

    /**
     * 订单号
     */
    private String id;

    private Integer userId;

    private Integer itemId;

    private BigDecimal itemPrice;

    private Integer amount;

    private BigDecimal orderPrice;

    /**
     *  若非空，表示以秒杀方式下单
     */

    private Integer promoId;
}
